
.PHONY: all clean run bench jar

all: *.java
	javac -O *.java

clean:
	$(RM) *.class game.jar log.txt

run: game.jar
	java -jar game.jar

bench: all
	java Benchmark

jar: game.jar

game.jar: *.java Manifest.txt
	javac -O *.java
	jar -cf game.jar -m Manifest.txt *.class
